ProteusClientCoreCryptoImpl

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend fun close()
Link copied to clipboard
open suspend fun createSession(preKeyCrypto: <Error class: unknown class>, sessionId: <Error class: unknown class>)
Link copied to clipboard
open suspend fun <T : Any> decrypt(message: ByteArray, sessionId: <Error class: unknown class>, handleDecryptedMessage: suspend (decryptedMessage: ByteArray) -> T): T
Link copied to clipboard
open suspend fun deleteSession(sessionId: <Error class: unknown class>)
Link copied to clipboard
open suspend fun doesSessionExist(sessionId: <Error class: unknown class>): Boolean
Link copied to clipboard
open suspend fun encrypt(message: ByteArray, sessionId: <Error class: unknown class>): ByteArray
Link copied to clipboard
open suspend fun encryptBatched(message: ByteArray, sessionIds: List<<Error class: unknown class>>): Map<<Error class: unknown class>, ByteArray>
Link copied to clipboard
open suspend fun encryptWithPreKey(message: ByteArray, preKeyCrypto: <Error class: unknown class>, sessionId: <Error class: unknown class>): ByteArray
Link copied to clipboard
open suspend fun getFingerprintFromPreKey(preKey: <Error class: unknown class>): ByteArray
Link copied to clipboard
open fun getIdentity(): ByteArray
Link copied to clipboard
open suspend fun getLocalFingerprint(): ByteArray
Link copied to clipboard
open suspend fun newLastResortPreKey(): <Error class: unknown class>
Link copied to clipboard
open suspend fun newPreKeys(from: Int, count: Int): <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open suspend fun remoteFingerPrint(sessionId: <Error class: unknown class>): ByteArray